package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 讨论信息对象 wct_discussion
 * 
 * @author keqiang
 * @date 2020-04-19
 */
public class Discussion extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 编号 */
	private Long id;

	/** 讨论的标题 */
	@Excel(name = "讨论的标题")
	private String title;

	/** 讨论的内容 */
	@Excel(name = "讨论的内容")
	private String content;

	/** 发布人 */
	@Excel(name = "发布人")
	private String user;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return content;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getUser() {
		return user;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("title", getTitle()).append("content", getContent()).append("user", getUser())
				.append("createTime", getCreateTime()).toString();
	}
}
